package pl.edu.pk.cc.common.dto;

import java.util.HashSet;
import java.util.Set;

public class CCProjectsDTO implements CCResourceDTO {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1615237436317726891L;

	private long id;
	private String title;
	private String type;
	private String item; // tylko sprzedaz
	private String company; // tylko umowy
	private boolean active = false;
	private Set<CCCallHistoryDTO> calls = new HashSet<CCCallHistoryDTO>();
	
	
	public CCProjectsDTO() {};
	
	public CCProjectsDTO(String title, String type, String item, String company, boolean active) {
		super();
		this.title = title;
		this.type = type;
		this.item = item;
		this.company = company;
		this.active = active;
	}
	public long getId() {
		return id;
	}
	private void setId(long id) {
		this.id = id;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public String getItem() {
		return item;
	}
	public void setItem(String item) {
		this.item = item;
	}
	public String getCompany() {
		return company;
	}
	public void setCompany(String company) {
		this.company = company;
	}

	public Set<CCCallHistoryDTO> getCalls() {
		return calls;
	}

	public void setCalls(Set<CCCallHistoryDTO> calls) {
		this.calls = calls;
	}

	public boolean isActive() {
		return active;
	}

	public void setActive(boolean active) {
		this.active = active;
	}

	
	
}
